package com.cmc.cloud.cmclink.doc.constants.errorconstant;

import com.cmes.framework.common.exception.ErrorCode;

/**
 * 订舱主错误码常量类
 *
 * @author codegen
 */
public class SoErrorCodeConstants {

    public static final ErrorCode SO_NOT_EXISTS = new ErrorCode(1004040001, "订舱不存在");
    public static final ErrorCode SO_BOOKING_DRAFT_CHANGE = new ErrorCode(1004040002, "只能操作自己的订舱/订舱状态已改变请查询后重试");
    public static final ErrorCode SO_HAS_EXISTS = new ErrorCode(1004040003, "订舱新增异常");
    public static final ErrorCode SO_NO_UPDATE = new ErrorCode(1004040004, "该状态下不能修改");
    public static final ErrorCode SO_NO_LINER = new ErrorCode(1004040005, "未设置班轮");
    public static final ErrorCode SO_LINER_POL_POD_CONFLICT = new ErrorCode(1004040006, "装货地与上一段卸货地要相同");
    public static final ErrorCode SO_CHECK_NULL = new ErrorCode(1004040007, "{0}不能为空");
    public static final ErrorCode SO_CNTRSTATUS_ERROR = new ErrorCode(1004040008, "箱状态无效");
    public static final ErrorCode SO_CNTROWNER_ERROR = new ErrorCode(1004040009, "箱主代码无效");
    public static final ErrorCode SO_BLNORULE_BKPCODE_ERROR = new ErrorCode(1004040010, "订舱提单号规则【订舱人三位码】未维护");
    public static final ErrorCode SO_BLNORULE_CURRENTPOL_ERROR = new ErrorCode(1004040011, "订舱提单号规则【起运地两位码】未配置");
    public static final ErrorCode SO_BLNORULE_YEAR_ERROR = new ErrorCode(1004040012, "订舱提单号规则【年份编码】未配置");
    public static final ErrorCode SO_CREATE_BOOKINGNO_ERROR = new ErrorCode(1004040013, "订舱号序号过长");
    public static final ErrorCode SO_EMAIL_ERROR = new ErrorCode(1004040014, "邮箱错误");
    public static final ErrorCode SO_PHONE_ERROR = new ErrorCode(1004040015, "手机号错误");
    public static final ErrorCode SO_UPDATE_LIMIT = new ErrorCode(1004040016, "数据修改非法");
    public static final ErrorCode SO_CARGO_TYPE_DRY = new ErrorCode(1004040017, "货类子类错误");
    public static final ErrorCode SO_CHANGE_BKG_VESSEL_ERROR = new ErrorCode(1004040018, "运输类型必须为班轮");
    public static final ErrorCode SO_CHANGE_BKG_VESSEL_NO_MATCH_ERROR = new ErrorCode(1004040019, "装货港卸货港与原信息不一致");
    public static final ErrorCode SO_CHANGE_BKG_VESSEL_SI_CUT_OFF_ERROR = new ErrorCode(1004040020, "截单时间已过 ");
    public static final ErrorCode SO_CHANGE_BKG_NOT_CONSISTENT = new ErrorCode(1004040021, "改配POL、BKGVessel&Voyage不一致");
    public static final ErrorCode SO_CHANGE_BKG_STATUS_NOT_REQUIRED =
            new ErrorCode(1004040022, "改配状态SO STATUS只能是Booking Confirmed、Booking Pending for Space");
    public static final ErrorCode SO_CHANGE_BKG_VESSEL_SAME_ERROR = new ErrorCode(1004040023, "航次未修改");

    public static final ErrorCode SO_CONTENT_STATUS_ERROR = new ErrorCode(1004040025, "内容必须为待审核");

    public static final ErrorCode SO_BCR_ERROR = new ErrorCode(1004040026, "BCR校验未通过");

    public static final ErrorCode SO_UPDATE_CONFIRMED_ERROR = new ErrorCode(1004040027, "订舱已确认才能申请修改");

    public static final ErrorCode SO_UPDATE_CONFIRMED_APPLY_ERROR = new ErrorCode(1004040028, "审批状态异常");

    public static final ErrorCode SO_UPDATE_CONFIRMED_NULL_ERROR = new ErrorCode(1004040029, "申请修改不能为空");

    public static final ErrorCode SO_UPDATE_CONFIRMED_DOU_ERROR = new ErrorCode(1004040030, "申请修改还有审批中的数据");

    public static final ErrorCode SO_BOOKING_COMFIRM_PRINT_ERROR = new ErrorCode(1004040031, "审批通过才能打印");
    public static final ErrorCode SO_BOOKING_ROUND_TRIP_ERROR = new ErrorCode(1004040032, "箱主SNL时订舱要求里不能有重去空回");
    public static final ErrorCode SO_UPDATE_CONFIRMED_BL_ERROR = new ErrorCode(1004040033, "SI已签单或D/O已生成，不能修改");
    public static final ErrorCode SO_BOOKING_MATCH_USER_ERROR = new ErrorCode(1004040034, "订舱和用户不匹配");
    public static final ErrorCode SO_PARAM_ERROR = new ErrorCode(1004040035, "参数必传");
    public static final ErrorCode SO_VOYAGE_LOCK_ERROR = new ErrorCode(1004040036, "航次已锁船,不能操作");
    public static final ErrorCode SO_VOYAGE_BSA_ERROR = new ErrorCode(1004040037, "航次开舱状态是关闭、等待开舱不能新建修改SO");
    public static final ErrorCode SO_TOP_AGENT_ERROR = new ErrorCode(1004040038, "获取企业一级代理异常");
    public static final ErrorCode BOOKING_APPLY_EXISTS = new ErrorCode(1004040039, "当前订舱号已存在特种货申请，请勿重复发起");

    public static final ErrorCode SO_CHECK_STR_ERROR = new ErrorCode(1004040040, "{0}有非英文字符");

    public static final ErrorCode CHANGE_DEL_FOR_WEB_VSLVOY_NOT_EMPTY = new ErrorCode(1004040041, "订舱目的港修改时船期数据必填");

    public static final ErrorCode SO_AMEND_MANIFEST_ERROR = new ErrorCode(1004040042, "SO存在预配舱单,不能修改");

    public static final ErrorCode SO_AMEND_SI_ERROR = new ErrorCode(1004040043, "SO存在SI,不能修改");

    public static final ErrorCode SO_AMEND_SPECIAL_ERROR = new ErrorCode(1004040044, "特种货SO不允许修改");

    public static final ErrorCode SO_AMEND_CANCEL_SI_ERROR = new ErrorCode(1004040045, "SI已经签发提单，不能取消");

    public static final ErrorCode SO_AMEND_CANCEL_IM_PAYMENT_ERROR = new ErrorCode(1004040046, "SI已经计算费用，不能取消");

    public static final ErrorCode SO_AMEND_NO_UPDATE_ERROR = new ErrorCode(1004040047, "数据未修改");

    public static final ErrorCode SO_RETUAN_DRAFT_ERROR = new ErrorCode(1004040048, "{0}有特种货申请审核，不能退回成草稿");

    public static final ErrorCode SO_RD_RF_ERROR = new ErrorCode(1004040049, "货类是RD、RF温度和通风度是必填的");

    public static final ErrorCode SO_AMEND_CANCEL_SI_LOCK_ERROR = new ErrorCode(1004040050, "SI已经锁船,不能取消");

    public static final ErrorCode SO_CHANGE_BKG_VESSEL_NO_ERROR = new ErrorCode(1004040051, "未修改船名航次,请到多式联运修改");

    public static final ErrorCode SO_AK_ERROR = new ErrorCode(1004040052, "45HC、20HC尺寸的箱子货类只能是AK");

    public static final ErrorCode SO_NEED_CONFIRM_ERROR = new ErrorCode(1004040056, "存在{0} SO 未处理");
    public static final ErrorCode SO_MAIN_STATUS_ERROR = new ErrorCode(1004040053, "订舱号{}非订舱已确认，不能提单");
    public static final ErrorCode WEB_SO_VOYAGE_LOCK_ERROR = new ErrorCode(1004040054, "SO的船名航次在装港已锁船");
    public static final ErrorCode WEB_SO_MANIFEST_ERROR = new ErrorCode(1004040055, "该SO只能从海关舱单创建提单");
}